#ifndef _PDMODEL_HH_
#define _PDMODEL_HH_


//Point Distribution model
class PDModel{
public:

    PDModel(){mean = NULL; vectors = NULL; eigvals = NULL;}

    CvMat *mean;
    CvMat *vectors;
    CvMat *eigvals;

//     ModelFiles_t files;

    void clear(){
	cvReleaseMat(&mean); 
	cvReleaseMat(&vectors); 
	cvReleaseMat(&eigvals);}

    ~PDModel(){clear();}

};


#endif
